package com.kashow.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.kashow.bean.circle.ImageInfo;

/**
 * Created by cg on 16/12/21.
 */

public class ItemPublicBean extends BaseBean implements MultiItemEntity {
    public  static  final int TYPE_HEADER = 1;
    public static final int TYPE_NORMAL_ITEM = 2;
    private int itemType = 0;
    public ImageInfo mImageInfo;
    private int order ;

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public ImageInfo getImageInfo() {
        return mImageInfo;
    }

    public void setImageInfo(ImageInfo imageInfo) {
        mImageInfo = imageInfo;
    }


    public void setItemType(int itemType){
        this.itemType = itemType;
    }

    @Override
    public int getItemType() {
        if (itemType != 0){
            return itemType;
        }else {
            return 0;
        }

    }


}
